package com.zyh.mapper;

import com.zyh.entity.Pet;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface PetMapper {
    void insert(Pet pet);
    void deleteById(Integer id);
    void deleteMany(int[] ids);
    void update(Pet pet);
    Pet selectById(Integer id);
    List<Pet> selectAll();
}
